function [ Tasks ] = GenerateTaskList(executionTimes, routeMatrix )
%GENERATETASKLIST Generates Matrix of Tasks
%   Given execution times and route matrix, function generates matrix of
%   tasks

numberOfTasks = size(executionTimes);
numberOfTasks = numberOfTasks(1);

Tasks = Task.empty(0);

for i= 1:numberOfTasks
    GeneratedTask = Task(routeMatrix, executionTimes(i,:));
    Tasks = cat(2,Tasks, GeneratedTask);
    
end

clearvars routeMatrix executionTimes numberOfTasks GeneratedTask i;

end

